<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>

<?php
/**
 * @file
 * Default theme implementation to display a single Drupal page.
 *
 * The doctype, html, head and body tags are not in this template. Instead they
 * can be found in the html.tpl.php template in this directory.
 *
 * Available variables:
 *
 * General utility variables:
 * - $base_path: The base URL path of the Drupal installation. At the very
 *   least, this will always default to /.
 * - $directory: The directory the template is located in, e.g. modules/system
 *   or themes/bartik.
 * - $is_front: TRUE if the current page is the front page.
 * - $logged_in: TRUE if the user is registered and signed in.
 * - $is_admin: TRUE if the user has permission to access administration pages.
 *
 * Site identity:
 * - $front_page: The URL of the front page. Use this instead of $base_path,
 *   when linking to the front page. This includes the language domain or
 *   prefix.
 * - $logo: The path to the logo image, as defined in theme configuration.
 * - $site_name: The name of the site, empty when display has been disabled
 *   in theme settings.
 * - $site_slogan: The slogan of the site, empty when display has been disabled
 *   in theme settings.
 *
 * Navigation:
 * - $main_menu (array): An array containing the Main menu links for the
 *   site, if they have been configured.
 * - $secondary_menu (array): An array containing the Secondary menu links for
 *   the site, if they have been configured.
 * - $breadcrumb: The breadcrumb trail for the current page.
 *
 * Page content (in order of occurrence in the default page.tpl.php):
 * - $title_prefix (array): An array containing additional output populated by
 *   modules, intended to be displayed in front of the main title tag that
 *   appears in the template.
 * - $title: The page title, for use in the actual HTML content.
 * - $title_suffix (array): An array containing additional output populated by
 *   modules, intended to be displayed after the main title tag that appears in
 *   the template.
 * - $messages: HTML for status and error messages. Should be displayed
 *   prominently.
 * - $tabs (array): Tabs linking to any sub-pages beneath the current page
 *   (e.g., the view and edit tabs when displaying a node).
 * - $action_links (array): Actions local to the page, such as 'Add menu' on the
 *   menu administration interface.
 * - $feed_icons: A string of all feed icons for the current page.
 * - $node: The node object, if there is an automatically-loaded node
 *   associated with the page, and the node ID is the second argument
 *   in the page's path (e.g. node/12345 and node/12345/revisions, but not
 *   comment/reply/12345).
 *
 * Regions:
 * - $page['help']: Dynamic help text, mostly for admin pages.
 * - $page['highlighted']: Items for the highlighted content region.
 * - $page['content']: The main content of the current page.
 * - $page['sidebar_first']: Items for the first sidebar.
 * - $page['sidebar_second']: Items for the second sidebar.
 * - $page['header']: Items for the header region.
 * - $page['footer']: Items for the footer region.
 *
 * @see bootstrap_preprocess_page()
 * @see template_preprocess()
 * @see template_preprocess_page()
 * @see bootstrap_process_page()
 * @see template_process()
 * @see html.tpl.php
 *
 * @ingroup themeable
 */ ?>
 <?php 
 	global $base_url,$theme_path;
 	$themepath = $base_url ."/".$theme_path;
	$extpath = "http://www.tn.gov.in";

?>
<!--Lanagugae Purpose-->
<style type="text/css">
<?php if($language->language=='ta') { ?> 
#block-locale-language .language-switcher-locale-url .en {display:block;}
#block-locale-language .language-switcher-locale-url .ta {display:none;}
 <?php } else  { ?>
#block-locale-language .language-switcher-locale-url .en {display:none;} 
#block-locale-language .language-switcher-locale-url .ta {display:block;}
 <?php } ?>
</style>
<link type="text/css" href="<?php echo $themepath; ?>/css/inner_page.css" rel="stylesheet" />

<link type="text/css" href="<?php echo $themepath; ?>/css/style.css" rel="stylesheet"  />
<link type="text/css" href="<?php echo $themepath; ?>/css/front_page.css" rel="stylesheet"  />


<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/green_style.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/green_page.css" title="styles1" media="screen" />

<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/maroon_style.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/maroon_page.css" title="styles2" media="screen" />

<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/darkblue_style.css" title="styles3" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/darkblue_page.css" title="styles3" media="screen" />

<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/brown_style.css" title="styles4" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/brown_page.css" title="styles4" media="screen" />

<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/style.css" title="styles5" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/front_page.css" title="styles5" media="screen" />

<!--<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/inner_page_scroll.css" title="styles5" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="<?php echo $themepath; ?>/css/style_scroll.css" title="styles5" media="screen" />-->
	
<!--Mobile and Tablet JS-->
<script type="text/javascript" src="<?php echo $themepath; ?>/js/mobile_tab_menu.js"></script>

<!--Browser css-->
<script type="text/javascript" src="<?php echo $themepath; ?>/js/jquery.browser.min.js"></script>

<!--Theme Switcher-->
<script type="text/javascript" src="<?php echo $themepath; ?>/js/js3/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $themepath; ?>/js/js3/styleswitch.js"></script>

<!--Custom css-->
<script type="text/javascript" src="<?php echo $themepath; ?>/js/custom.js"></script>


<!------ Font increase and decrease ------------>
<script src="<?php echo $themepath; ?>/js/font_size/dw_event.js" type="text/javascript"></script>
<script src="<?php echo $themepath; ?>/js/font_size/dw_cookies.js" type="text/javascript"></script>
<script src="<?php echo $themepath; ?>/js/font_size/dw_sizerdx.js" type="text/javascript"></script>

<script src="<?php echo $themepath; ?>/js/js2/jquery-1.9.1.min.js"></script>
<script src="<?php echo $themepath; ?>/js/js2/jquery-migrate-1.2.1.js"></script>

<!-- IE browser alert  -->
<script src="<?php echo $themepath; ?>/ie_alert/iealert.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $themepath; ?>/ie_alert/iealert/style.css" />
  
<script type="text/javascript">
$(document).ready(function() {
$("body").iealert({
//support: "ie9",
title: "your browser is old!",
//text: "Please, <font color="red">update</font> your browser",
//upgradeTitle: "Download",
//upgradeLink: "http://www.mozilla.org/en-US/firefox/new/",
//overlayClose: true,
closeBtn: false
});
});
</script>
<!-- IE browser alert - END -->

<script type="text/javascript">
dw_Event.add( window, 'load', dw_fontSizerDX.init );
</script>
</head>

<body>
<!------ Header ------------>
<!------ Header ------------>
<div class="header">
<?php /*?><div style="margin-left: auto; margin-right: auto; width: 997px;" class="txt_size_serv">
   <div style="float:right;"><?php echo $txtsizeblk; ?></div><div class="clr"></div></div>
   <?php */?>
<!--<div id="wrapper" style="margin-left:auto;margin-right:auto; width:997px;">-->
	
<div class="header_color_icon">
	
<div class="icon1"><a href="#" rel="styles1" class="styleswitch"><img src="<?php echo $themepath; ?>/images/green.png" alt="green" height="14" width="14"></a></div>
<div class="icon4"><a href="#" rel="styles2" class="styleswitch"><img src="<?php echo $themepath; ?>/images/merron.png" alt="merron" height="14" width="14"></a></div>
<div class="icon3"><a href="#" rel="styles3" class="styleswitch"><img src="<?php echo $themepath; ?>/images/blue.png" alt="blue" height="14" width="14"></a></div>
<div class="icon2"><a href="#" rel="styles4" class="styleswitch"><img src="<?php echo $themepath; ?>/images/brown.png" alt="brown" height="14" width="14"></a></div>
<div class="icon5"><a href="#" rel="styles5" class="styleswitch"><img src="<?php echo $themepath; ?>/images/defalutblue.png" alt="Blue" height="14" width="14"></a></div>
</div>

<div id="sizer">
<a class="increase" href="#" title="Increase text size"><img src="<?php echo $themepath; ?>/images/plus.gif" alt="" border="0" height="14" width="14" class="icon6"/></a>
<a class="reset" href="#" title="Restore default font-sizes"><img src="<?php echo $themepath; ?>/images/reset.gif" alt="" border="0" height="14" width="14" class="icon7"/></a>
<a class="decrease" href="#" title="Decrease text size"><img src="<?php echo $themepath; ?>/images/minus.gif" alt="" border="0" height="14" width="14" class="icon8"/></a> 
</div>

	<div class="header_img">
	  	<a href="<?php echo $base_url;?>"><div id="header_logo"><!--<img src="<?php //echo $themepath; ?>/images/top_banner.jpg" usemap ="#portalLogo" alt=""/>-->
	  		<map name="portalLogo" id="portallog"><area shape="circle" coords="80,50,50" href="<?php echo $base_url;?>" alt="Home" /></map>
		</div></a>
	  		
    <?php /*?><div class="navbar-header">
      <?php if ($logo): ?>
      <a class="logo navbar-btn pull-left" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>">
        <img src="<?php //print $logo; ?>" alt="<?php //print t('Home'); ?>" />
      </a>
      <?php endif; ?>

      <?php if (!empty($site_name)): ?>
      <a class="name navbar-brand" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php //print $site_name; ?></a>
      <?php endif; ?>
    </div><?php */?>
	
		<?php /*?><div class="navbar-header">
      <?php if ($logo): ?>
      <a class="logo navbar-btn pull-left" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>">
        <img src="<?php //print $logo; ?>" alt="<?php //print t('Home'); ?>" />
      </a>
      <?php endif; ?>

      <?php if (!empty($site_name)): ?>
      <a class="name navbar-brand" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php //print $site_name; ?></a>
      <?php endif; ?><?php */?>


<!------Mobile Menu Starts Here ------------>
			 <nav id="menu" class="nav" style="display:none;">	
						
					<ul>
					
						<li>
							<a href="#">
								<span>தமிழ் வடிவம்</span>
							</a>
						</li>
						<li>
							<a href="announcements">
								<span>Announcements</span>
							</a>
						</li>
						<li>
							<a href="go_view/dept">
								<span>GOs of Public interest</span>
							</a>
						</li>
						<li>
							<a href="pressrelease">
								<span>Press Release</span>
							</a>
						</li>
						<li>
							<a href="contact_directory">
								<span>Contact Directory</span>
							</a>
						</li>
						
					</ul>
				</nav>
				

<!------Main Menu Ends Here ------------>
	   <div class="header-bottom">
		  <div class="wrap">
			
			<div class="top-nav" >
			<?php print render($page['header']); ?>
					<!--<ul>
						<li class="ta last"><a href="http://www.tn.gov.in/ta" class="language-link">தமிழ் வடிவம்</a></li>
						<li ><a href="#" title="">Announcements</a></li>
						<li ><a href="#" title="">GOs of Public interest</a></li>
						<li ><a href="#" title="">Press Release</a></li>
						<li  class="leaflast"><a href="#" title="">Contact Directory</a></li>
					</ul>-->
					
		    </div>

<!------Search box and Search buttom ------------>
		
<div><div class="container-inline">
  <div class="form-item" id="edit-search-block-form-1-wrapper">
 <div class="search_menu_top">
 <a href="gsearch">Search </a></div>
<a href="gsearch"><img src="<?php echo $themepath; ?>/images/search.png" class="txttop" /></a>

<div class="csclogin1"><a target="_blank" href="https://edistricts.tn.gov.in:8443/certificates_csc">CSC Login</a> </div>

</div>
 <!--<input maxlength="128" name="search_block_form" id="edit-search-block-form-1" size="15" title="Enter the terms you wish to search for." class="form-text" type="text">-->

<!--<input name="op" value="" class="form-submit search_submit_btn" type="submit">
<input name="form_build_id" id="form" value="form" type="hidden">
<input name="form_id" id="edit-search-block-form" value="search_block_form" type="hidden">-->
</div>
			<div class="clear"></div> 
		</div>
	</div>
</div>
<!------End Header ------------>
		
<!------Content ------------>
<div id="front_maincontainer">
		
<div class="leftmenu">
<!--<div class="blueboldmenu" id="govicon"><a href="#">Government</a></div>
<div  class="blueboldmenu" id="sericon"><a href="#">Services</a></div>
<div  class="blueboldmenu" id="schicon"><a href="#">Schemes</a></div>
<div  class="blueboldmenu" id="formicon"><a href="#">Forms</a></div>
<div  class="blueboldmenu" id="docicon"><a href="#">Documents</a></div>
<div  class="blueboldmenu" id="griicon"><a href="#">Grievances</a></div>
<div class="blueboldmenu last" id="abttamicon"><a href="#">About Tamil Nadu</a>
</div>-->
  <?php print render($page['sidebar_first']); ?>
</div> 
				
		<div class="pagecontent">
		<div class="left-corner">
		<div class="clear-block">
		<div id="node">

	<div class="breadcrumb2"><?php  print $breadcrumb; ?></div>
	<!-- To display Messages in holiday -->
	<?php if(arg(0)=='holiday' && arg(1)=='list'){?>
       <?php  if($messages){ ?>
       <div class="messages status"><?php  print $messages; ?></div><?php }}?>
	
	<div class="profile_form_div" style="border-bottom:none;">
	<!--<p class="profile_form"><img src="images/governor_K_Rosaiah.jpg" align="middle" class="profileimg"></p>
	<p class="profile_info">Profile of His Excellency Dr. K Rosaiah<br>Hon'ble Governor of Tamil Nadu</p>-->
<div class="about-services">
<div class="questions">
<!--<h4>Additional Information</h4>-->
<?php print render($page['content']); ?>
<?php //print render($page['footer']); ?>

</div>

</div>


<div class="clear-block">
<div class="meta">
</div>
</div>
</div>
</div>
</div>

<!-- FORM RIGHT SIDEBAR -->
<?php if( arg(0) == 'forms') {?>
<div class="rightmenu-form">
<ul class="rightsidebar">
      <aside class="col-sm-3" role="complementary">
	<?php  $addblock = module_invoke('forms','block_view','forms_service_scheme');
      print render($addblock['content']); ?>
     </aside>
<?php } ?>
<!-- END - FORM RIGHT SIDEBAR -->

</div> 
</div> 

<?php if( arg(0) == 'government'  || arg(0) == 'section' || arg(0) == 'collectors' || arg(0) == 'ministerslist') {?>
<div class="rightmenu">
<ul class="rightsidebar">
      <aside class="col-sm-3" role="complementary">
	<?php  $mainmenu = module_invoke('menu', 'block_view','menu-rightmenu');
      print render($mainmenu['content']); ?>   
     </aside>  
<?php } ?>

<?php if( arg(0) == 'rules' || arg(0) == 'circulars' || arg(0) == 'acts') {?>
<div class="rightmenu">
<ul class="rightsidebar">
    <aside class="col-sm-3" role="complementary">      
           <?php  $mainmenu = module_invoke('menu', 'block_view','menu-actsrulescircular');
      print render($mainmenu['content']); ?>
    </aside>  
<?php } ?>

<?php if( arg(0) == 'contact_directory' || arg(0) == 'emaildirectory' || arg(0) == 'superannuated' || arg(0) == 'southernstate' || arg(0) == 'delhicadre' || arg(0) == 'stateguest' ) {?>
<div class="rightmenu">
<ul class="rightsidebar">
<aside class="col-sm-3" role="complementary">
<?php $mainmenu = module_invoke('menu', 'block_view','menu-contact-directory');
print render($mainmenu['content']); ?>
</aside>
<?php } ?> <!-- /#sidebar-second -->
	
<!--<li class="active" ><a href="#" title="This is Governor Data" >Governor</a></li>
<li ><a href="#" title="This is Chief Minister Data">Chief Minister</a></li>
<li ><a href="#" title="This is Cheif Justice Data">Chief Justice</a></li>
<li ><a href="#" title="">MPs</a></li>
<li ><a href="#" title="">MLAs</a></li>
<li ><a href="#" title="">Council of Ministers</a></li>
<li ><a href="#" title="">Secretaries to Govt</a></li>
<li ><a href="#" title="">District Collectors</a></li>-->
</div>
<?php //} ?>
</div> 
		
<!------End Content ------------>

<!------footer Menu------------>
<div class="page-footer-top1" >

<!--<ul ><li ><a href="#">Add To Favorites</a></li>
<li ><a href="#" title="">Feedback</a></li>
<li ><a href="#" title="">About this Portal</a></li>
<li ><a href="#" title="">SiteMap</a></li>
<li ><a href="#" title="">Calendar</a></li>
<li class="leaflast1" ><a href="#" title="">Contact Us</a></li>
</ul>-->
<?php print render($page['footer']); ?>
<div class="last_updated"> <span>Last Updated : </span> <span><?php echo date("M d, Y");?></span></div>
   
</div>

<div class="page-footer-top2" style="display:none;">
<div >
<ul ><li ><a href="#">Add To Favorites</a></li>
<li ><a href="#" title="">Feedback</a></li>
<li ><a href="#" title="">About this Portal</a></li>
</ul>
</div>
</div>

<!------Left footer------------>

<div class="page-footer_bot">
<div class="footer_text"> Contents owned and updated by concerned Departments and coordinated  by <br>Information Technology Department
Secretariat, Fort St. George, Chennai 600 009, Tamil Nadu, India
</div>

<!----Right Footer------------>
<div class="footer_text1"> Designed &amp; Developed by <a target="_blank" href="http://www.tn.nic.in/">National Informatics Centre</a><br>
E-Mail: <a class="newxtxt" href="mailto:webadmin.tn@nic.in">webadmin.tn@nic.in</a><br>
<a class="style3" href="disclaimer">Disclaimer | </a>
<a class="style3" href="privacypolicy">Privacy Policy | </a>
<a class="style3" href="termsofuse">Terms of Use</a></div>
</div>

</div>

<!------Mobile Menu Dropdown in responsive------------>

<script>
			//  The function to change the class
			var changeClass = function (r,className1,className2) {
				var regex = new RegExp("(?:^|\\s+)" + className1 + "(?:\\s+|$)");
				if( regex.test(r.className) ) {
					r.className = r.className.replace(regex,' '+className2+' ');
			    }
			    else{
					r.className = r.className.replace(new RegExp("(?:^|\\s+)" + className2 + "(?:\\s+|$)"),' '+className1+' ');
			    }
			    return r.className;
			};	

			//  Creating our button in JS for smaller screens
			var menuElements = document.getElementById('menu');
			menuElements.insertAdjacentHTML('afterBegin','<button type="button" id="menutoggle" class="navtoogle" aria-hidden="true"> <i aria-hidden="true" class="icon-menu"> <span class="m" href="#">≡ MENU</span></i> </button> ');


			//  Toggle the class on click to show / hide the menu
			document.getElementById('menutoggle').onclick = function() {
				changeClass(this, 'navtoogle active', 'navtoogle');
			}

			
			document.onclick = function(e) {
				var mobileButton = document.getElementById('menutoggle'),
					buttonStyle =  mobileButton.currentStyle ? mobileButton.currentStyle.display : getComputedStyle(mobileButton, null).display;

				if(buttonStyle === 'block' && e.target !== mobileButton && new RegExp(' ' + 'active' + ' ').test(' ' + mobileButton.className + ' ')) {
					changeClass(mobileButton, 'navtoogle active', 'navtoogle');
				}
			}
		</script>

<!------Mobile Menu Dropdown Ends responsive------------>

</div>
</body>
</html>

    	
    	
            